//#include "CTreeObject.h"
//
//CTreeObject::CTreeObject()
//{
//	this->x1 = this->y1 = this->x2 = this->y2 = 0;
//	target = NULL;
//}
//
//CTreeObject::CTreeObject(Object *obj)
//{
//	target = obj;
//	
//	this->x1 = target->getPosX();
//	this->y1 = target->getPosY();
//	//this->x2 = target->getPosX2();
//	//this->y2 = target->getPosY2();
//	this->id = target->getIDObj();
//}
//
//CTreeObject::~CTreeObject()
//{
//	if (target != NULL)
//	{
//		delete target;
//	}
//}